<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateVipRuleTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //vip权益
        Schema::create('vip_rule',function(Blueprint $table)
        {
            $table->increments('id');
            $table->string('name')->nullable()->comment('权益名称（显示使用）');
            $table->string('mark')->nullable()->comment('权益标识（内部使用）');
            $table->softDeletes();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
